package com.xjoyt.pay.master.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.xjoyt.pay.master.dao.CompanyRepositoryCustom;
import com.xjoyt.pay.master.po.Company;
import com.xjoyt.pay.repository.Repository;

public interface CompanyRepository extends Repository<Company>, CompanyRepositoryCustom {

	Page<Company> findAllByName(String name, Pageable pageable);

	List<Company> findAllByIdOrPathLike(String id, String path);

	List<Company> findAllByIdIn(List<String> ids);
}
